<template>
  <Wuser
    v-bind="{getfans, gettags, gettemplates, messagesend, updateremark, batchuntagging, batchtagging }"
  ></Wuser>
</template>

<script>
import Wuser from "@/components/weixin/user.vue";
import {
  asyncmessagesend,
  asyncupdateremark,
  asyncbatchtagging,
  asyncbatchuntagging
} from "../../../plugins/api.js";
import { mapGetters } from "vuex";
export default {
  name: "wechatfans",
  computed: mapGetters("weixin", ["getfans", "gettags", "gettemplates"]),
  methods: {
    async messagesend(data) {
      await asyncmessagesend(data);
    },
    async updateremark(data) {
      await asyncupdateremark(data);
    },
    async batchtagging(data) {
      await asyncbatchtagging(data);
    },
    async batchuntagging(data) {
      await asyncbatchuntagging(data);
    }
  },
  components: {
    Wuser
  }
};
</script>
